package com.yjc.hire.grace.result;

import lombok.Data;

/**
 * </p>
 *
 * @author jcyin
 * @since 2025/8/9
 * </p>
 */

@Data
public class PageGridResult<T> {
    private Integer page;
    private T data;

    public PageGridResult(T data, Integer page) {
        this.page = page;
        this.data = data;
    }

    public static <T> PageGridResult<T> of(T data, Integer page) {
        return new PageGridResult<>(data,page);
    }

}
